<template>
  <div>{{ text }}</div>
</template>

<script>
export default {
  name: 'AppEmpty',
  props: {
    text: {
      type: String,
      default: 'no data'
    }
  },
  data() {
    return {
      testdata: { a: 1, b: 2 }
    }
  },
  mounted() {
    const that = this
    setTimeout(() => {
      const mounteddata = { ...that.testdata, c: 3 }
      that.testdata = mounteddata
    }, 500)
    console.log('Clicked cancel button')
  }
}
</script>
